package com.liu.manager.service;

import com.liu.manager.bean.ResponseResult;
import com.liu.manager.entity.RolerAndPermission;

import java.util.List;

public interface RolerAndPermissionService {

    ResponseResult insertRolerAndPermission(RolerAndPermission rolerAndPermission);
    ResponseResult deleteRolerAndPermission(long id);
    ResponseResult findByRolerId(long rolerId);
    ResponseResult findByPermissionId(long permissionId);
}
